package net.cyl.util;

import org.apache.shardingsphere.core.strategy.keygen.SnowflakeShardingKeyGenerator;

public class IDUtil {
    private static final SnowflakeShardingKeyGenerator keyGenerator = new SnowflakeShardingKeyGenerator();

    public static Comparable<?> generateSnowflakeKey() {
        return keyGenerator.generateKey();
    }
}
